<!DOCTYPE html>
<html>
<head>
	<title>用户组列表 - EasyAccount</title>
	<?=$this->render('common/header')?>
</head>
<body class="fixed-nav bg-dark">
	<?=$this->render('common/navbar')?>
	<div class="content-wrapper">
	  	<div class="container-fluid">
			<h1>用户组列表</h1>
			<table class="table table-striped">
				<thead><tr><th>ID</th><th>名称</th><th>操作</th></tr></thead>
				<tbody id="content"></tbody>
			</table>
			<div class="card">
				<div class="card-header">添加用户组</div>
				<div class="card-body">
					<form id="addform" method="post" onsubmit="return false;">
						<div class="form-group row">
							<label for="form-name" class="col-sm-2 col-form-label">用户组名称</label>
							<div class="col-sm-10"><input id="form-name" class="form-control" type="text" name="name" required></div>
						</div>
						<div class="form-group row">
							<div class="col-sm-2"></div>
							<div class="col-sm-10">
								<button type="submit" class="btn btn-primary">添加</button>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		<!-- end right Content here -->
	</div>
	<script>window.ea.page="user_group";</script>
	<?=$this->render('common/footer')?>
</body>
</html>